package com.sudo.dao.admin.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@Table(name = "sys_server_node_task")
public class SysServerNodeTask {
    @Id
    private Integer id;

    @Column(name = "server")
    private String server;

    @JsonFormat
    @Column(name = "bean_name")
    private String beanName;

    @Column(name = "method_name")
    private String methodName;

    @Column(name = "method_desc")
    private String methodDesc;

    @Column(name = "method_params")
    private String methodParams;

    @Column(name = "create_time")
    private LocalDateTime createTime;
}
